﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Module_CUS.API.AccessoryRepair_C.Models
{
    public class AccessoryRepairEntity
    {
        //public string ReasonNo { get; set; }
        public string RepairReason { get; set; }
        public string RepairTime { get; set; }
        public string ADDLIFETYPE { get; set; }
        public string ADDLIFE { get; set; }
        public string ACCSERIALNO { get; set; }
        public string ACCESSORYNO { get; set; }
        public string ACCESSORYVERSION { get; set; }
        public string ACCESSORYTYPE { get; set; }
        public string DESCRIPTION { get; set; }
        public string ACCESSORYSTATE { get; set; }
        public string USERNO { get; set; }
        public DateTime STARTTIME { get; set; }
        public DateTime? APPLYTIME { get; set; }
        public string ACCUMULATEQTY { get; set; }
       // public string SUBSTITUTIONNO { get; set; }
        public List<unitReasonNo> ReasonNo { get; set; }
        public List<unitSUBSTITUTIONNO> SUBSTITUTIONNO { get; set; }
    }
    public class unitReasonNo
    {
        public string REASONNO { get; set; }
        public string REASONNAME { get; set; }
        public int REASONTYPE { get; set; }
        public int ISSUESTATE { get; set; }
        public string Creator { get; set; }
        public string CreateDate { get; set; }
        public string EDITOR { get; set; }
        public string EDITDATE { get; set; }
        public string GUID { get; set; }
    }
    public class unitSUBSTITUTIONNO
    {
        public string SUBSTITUTIONNO { get; set; }
        public string SUBSTITUTIONNAME { get; set; }
        public string SUBSTITUTIONTYPE { get; set; }
        public string UNITNO { get; set; }
        public string UNITTYPE { get; set; }
        public int SAFEQTY { get; set; }
        public int ISSUESTATE { get; set; }
        public string Creator { get; set; }
        public string CreateDate { get; set; }
        public string EDITOR { get; set; }
        public string EDITDATE { get; set; }
        public string GUID { get; set; }
    }

}
